package zhu.areas.match.dao;

import java.util.List;

import zhu.areas.match.data.MatchType;
import zhu.common.dao.BaseDAOImpl;

public class MatchTypeDAOImpl extends BaseDAOImpl implements IMatchTypeDAO {
	
	public List<MatchType> findAllMatchTypes() {
		return (List<MatchType>)super.find("from MatchType");
	}

	public String findMatchTypeById(int id) {
		
		return (String) super.findById(MatchType.class, id);
	}

}
